import pygame

class Player(object):
	"""The class for the player sprite"""
	
	def __init__(self):
		self.imagerest = pygame.image.load("data/img/player_before.png").convert_alpha()
		self.imagekick = pygame.image.load("data/img/player_after.png").convert_alpha()
		self.imagerest = self.imagerest.convert_alpha()
		self.imagekick = self.imagekick.convert_alpha()
		
		self.image = self.imagerest
		self.rect = self.image.get_rect()
		self.x = 200
		self.y = 400
		
	def rest(self):
		self.image = self.imagerest
		self.rect = self.image.get_rect()
		
	
	def kicking(self):
		self.image = self.imagekick
		self.rect = self.image.get_rect()
